package com.mes.cloud.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: 郑样平
 * @Description:
 * @Date: 2019/8/4 16:35
 */
@Data
public class SysDicibatchEnableRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id 数组", required = true)
    @NotEmpty(message = "id 数组不能为空")
    private List<String> ids;

    @ApiModelProperty(value = "状态(0：禁用，1：启用)", required = true )
    @NotEmpty(message = "状态不能为空")
    private String enableFlag;

    @ApiModelProperty(value = "修改时间", required = false)
    private String updateDateStr;

    @ApiModelProperty(value = "修改人", required = false)
    private String updateBy;

    @ApiModelProperty(value = "修改人工号", required = false)
    private String updateByNo;
}
